package com.bom.boot.easy.controller.exception;

import com.bom.boot.easy.facade.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class InException extends RuntimeException {
    private BaseDTO dto;

    public InException(BaseDTO dto, String message) {
        super(message);
        this.dto = dto;
    }

}
